<?php
/**
 * Created by PhpStorm.
 * User: lxd
 * Date: 2018/7/23
 * Time: 15:22
 * Comm:
 */

$date       = date( 'Y-m-d H:i:s' );
$input      = file_get_contents( 'php://input' );
$get        = json_encode( $_GET );
$post       = json_encode( $_POST );
$info       = <<<EOF

    url: cancel
    time : {$date}
    input: {$input}
    get: {$get}
    post: {$post}
    
    _________end_____
    
EOF;

error_log( $info, 3, './return_url.log' );